package com.tencent.teg.cspf;

import java.util.UUID;

/**
 * Created by zhaoj on 2016/11/8.
 */
public class Link {

    private int id = 0;
    private String name = null;
    private Node srcNode = null;
    private Node dstNode = null;
    private int bandwidth = 0;
    private int delay = 0;
    private int metric = 0;

    public Link() {

    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Node getSrcNode() {
        return srcNode;
    }

    public void setSrcNode(Node srcNode) {
        this.srcNode = srcNode;
    }

    public Node getDstNode() {
        return dstNode;
    }

    public void setDstNode(Node dstNode) {
        this.dstNode = dstNode;
    }

    public int getBandwidth() {
        return bandwidth;
    }

    public void setBandwidth(int bandwidth) {
        this.bandwidth = bandwidth;
    }

    public int getDelay() {
        return delay;
    }

    public void setDelay(int delay) {
        this.delay = delay;
    }

    public int getMetric() {
        return metric;
    }

    public void setMetric(int metric) {
        this.metric = metric;
    }
}
